<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8" import="pos.presentation.*,java.util.*"%>

    
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<title>---Trueque--- Web de intercambio</title>
		<link rel="stylesheet" type="text/css" href="style/style.css" />		
	</head>	
	<div id="container">		
		<div id="top">		
			<img src="img/TruequeLogo.jpg" alt="Trueques"/>
			<img src="img/BannerTrueque.png" alt="International Barter Web"/>		
		</div><!-- Fin de cabecera de Banners -->		
		<div id="content">		 		
		 		<div id="sidebar">		
		 			<fieldset>		
		 				<div id="login">		 				
		 					<% if (session.getAttribute("session.user")==null){ %>
		 							 	
								<jsp:include page="login.html"/>
		 						
		 					<% } else {%>
		 					
		 						<jsp:include page="logado.jsp"/>
								
							<%} %>						
		 				</div> <!-- cierra login -->
		 				<jsp:include page="cuadroBuscar.jsp"/>		 				
		 				<p><b>--Categorías--</b></p>		 				
		 					<jsp:include page="categorias.jsp"/>		 						 				
		 				<p><b>---</b></p>		 				
		 				<ul>
		 					<li><a href="underconstruction.html">Quienes Somos</a></li>
		 					<li><a href="mailto:trueque@trueque.com">Contacto</a></li>
		 				</ul>
		 		</fieldset>		 			
		 		</div> <!-- cierra sidebar -->
		 		<div id="central">
		 				<% if(session.getAttribute("session.user")==null){ %>
		 			<fieldset>
							<jsp:include page="paginaPrincipal.jsp"/>
		 			</fieldset>
						<%}%>	
		 			
		 		</div><!-- Fin de Central -->
		</div> <!-- Fin de Contenido -->		
	</div> <!-- cierra container -->	
</html>